package io.kiki.sba.registry.client.api;

import io.kiki.sba.registry.client.api.model.RegistryType;
import io.kiki.sba.registry.client.api.registration.ConfiguratorRegistration;
import io.kiki.sba.registry.client.api.registration.PublisherRegistration;
import io.kiki.sba.registry.client.api.registration.SubscriberRegistration;


public interface Client {


    Publisher register(PublisherRegistration publisherRegistration, String... data);


    Subscriber register(SubscriberRegistration subscriberRegistration);


    Configurator register(ConfiguratorRegistration configuratorRegistration);


    int unregister(String dataId, String group, RegistryType registryType);
}
